# $Id: PKGBUILD 89529 2013-04-29 19:09:10Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com>
# Contributor: Olivier Ramonat <olivier at ramonat dot fr>
pkgname=gource
pkgver=0.40
pkgrel=1
pkgdesc="software version control visualization"
license=(GPL3)
arch=(i686 x86_64)
url=http://code.google.com/p/gource/
depends=('ftgl' 'sdl' 'sdl_image' 'pcre' 'glew' 'boost-libs')
makedepends=('boost' 'glm' 'mesa')
source=(http://gource.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('89c608a7aa3c901661eb1f2db6117492')

build() {
	cd "$srcdir/$pkgname-$pkgver"

  sed -i "s/filesystem3/filesystem/g" src/logmill.cpp
	./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

	make DESTDIR="$pkgdir" install
}
# vim: ts=2:sw=2 et:
